﻿using System.ComponentModel.Composition;
using System.Windows.Controls;

namespace YunBox2.Client.Infrastructure
{
	/// <summary>
	/// UserProfilePage.xaml 的交互逻辑
	/// </summary>
	[Export("MyProfilePage", typeof (MyProfilePage))]
	public partial class MyProfilePage : UserControl
	{
        [ImportingConstructor]
		public MyProfilePage()
		{
			InitializeComponent();
		}

	    [Import]
	    ViewModels.MyProfileViewModel ViewModel
	    {
	        set
	        {
	            DataContext = value;
	        }
	    }
	}
}